<?php
('Access-Control-Allow-Origin：*');
include("../config/mysql.php");
$id = $_POST["id"];
$company = $_POST["company"];
$db = new mysql();
$sql = "update company set companyName='{$company}' where id = {$id}";
echo $db->Query($sql);
$db->close();
